home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
PROGRAM
/
QBWIZ12.ARJ
/
REDIR.ASM
< prev
next >
Wrap
Assembly Source File
|
1991-02-20
|
1KB
|
43 lines
comment #
+----------------------------------------------------------------------+
| |
| QBWIZ Copyright (c) 1990-1991 Thomas G. Hanlin III |
| |
| QuickBASIC Access Library |
| |
| assembled with the excellent OPTASM by SLR |
| |
+----------------------------------------------------------------------+
#
public REDIRECTION
.model medium
.code
REDIRECTION proc ; see if output is redirected
mov al,b$IOFLAG ;
and al,2 ; is output redirected?
jnz #Redir ; yep, set appropriately
xor ax,ax ;
ret ;
#Redir: mov ax,-1 ;
ret ;
REDIRECTION endp ; see if output is redirected
.data
extb b$IOFLAG
end